package com.springboot.product.service;

import com.springboot.product.entities.Product;

import java.util.List;

public interface ProductService {
//    CRUD
    Product saveOrUpdateProduct(Product product);
    void deleteProductById(Long id);
    Product getById(Long id);
    Product getProductById(String ID);
    List<Product> findAllProducts();
    List<Product> findByName(String name);

}
